<link href="/theme/Admin/css/control/index.css" rel="stylesheet">
<script src="/theme/Default/js/jquery.validate.js"></script>
<script src="/theme/Admin/js/rCategoryManage/indexValidate.js"></script>

<form action="/admin/CategoryManage/redit/<?php echo $data["RootCategory"]['id']; ?>" method="post" id="categoryAdd">
	<input type="hidden" name="data[id]" value="<?php echo $data["RootCategory"]['id']; ?>"/>
	<div id="admin-control">
		<div class="admin_control_header">
			Chỉnh sửa danh mục <span class="admin_control_notice">(Vui lòng điền đầy đủ thông tin)</span>
		</div>
		
		
		<div class="admin_control_row">
			<div class="admin_control_label">
				Tựa đề :
			</div>
			<div class="admin_control_element">
				<div class="element-main">
					<input placeholder="Nhập tên danh mục" class="form-control" id="category_name" name="data[category_name]" type="text" maxlength="50"  
					value="<?php echo $data['RootCategory']['category_name']?>"/>
				</div>
				<div class="category_group_warntip" style="display: none;">
					<div class="warntip_triangle">&nbsp;</div>
					<div class="warntip_content">
						<span>Nhập tên danh mục</span>
			    	</div>
				</div>
			</div>
		</div>
			
		<div class="admin_control_row">
			<div class="admin_control_label">
			</div>
			<div class="admin_control_element">
				<div class="element-main">
					<button type="submit" class="btn btn-danger">Sửa danh mục</button>
				</div>
			</div>
		</div>
		<div>
			
		</div>
	</div>
</form>